<!-- 定义反白导航条 -->
		<div class="navbar navbar-inverse navbar-static-top">
		    <div class="container">
		        <!-- 申明logo的容器 -->
		        <div class="navbar-header">
		            <!-- 针对logo等固定内容的样式 -->
		            <img src="/logo.png">
		            <!-- 定义隐藏下拉按钮 -->
		            <button class="navbar-toggle" data-toggle="collapse" data-target="#togglemenu">
		                <span class="icon-bar"></span>
		                <span class="icon-bar"></span>
		                <span class="icon-bar"></span>
		            </button>
		        </div>


		        <!-- 做隐藏菜单 -->
		        <div class="collapse navbar-collapse" id="togglemenu">
		            <!-- 菜单项 -->
		            <ul class="nav navbar-nav">
		                <!-- "cative"：定义当前页 -->
                        @foreach($navbar as $k=>$v)
                            @if($k == $id)
                                <li id="{{$v->class_id}}" class="active"><a href="{{$v->url}}">{{$v->name}}</a> <div class="underline-bar"></div> </li>
                            @else
                                <li id="{{$v->class_id}}"><a href="{{$v->url}}">{{$v->name}}</a> <div class="underline-bar"></div> </li>
                            @endif
                            @if($k == 3)
                                <li><a href="#" style="color: #00ff2a;" id="nicheng">昵称：{{$nickname}}</a>    <div class="underline-bar"></div> </li>
                            @endif
                        @endforeach
                        <li><a href="{{ url('user/logout') }}">退出</a>    <div class="underline-bar"></div></li>

		            </ul>


		        </div>

		    </div>
		</div>
